
#ifndef INCLUDED_STATICERRORINFO_H
#define INCLUDED_STATICERRORINFO_H

#include "BaseErrorInfo.h"

class StaticErrorInfo : public BaseErrorInfo
{
public:
	StaticErrorInfo( void ) : mp_info( NULL ), m_err_size( 0 ) {}
	virtual ~StaticErrorInfo( void ) { mp_info = NULL; }

	virtual int FindError( int code, struct error_info_t &info );

protected:
	const struct error_info_t *mp_info;
	int m_err_size;
};

#endif // INCLUDED_STATICERRORINFO_H

